<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        .name {
            text-align: center;
        }

        .G,
        .Q,
        .X {
            display: inline-block;
            width: 115px;
            height: 130px;
            background-color: pink;
        }

        .G {
            background-image: url(abcd.jpg);
            background-position: 505px 532px;
            overflow: hidden;
        }

        .Q {
            background-image: url(abcd.jpg);
            background-position: 0px 255px;
            overflow: hidden;
        }

        .X {
            background-image: url(abcd.jpg);
            background-position: 349px 122px;
            overflow: hidden;
        }
    </style>
</head>

<body>
    <div class="name">
        <span class="G"></span>
        <span class="Q"></span>
        <span class="X"></span>
    </div>
</body>

</html>